//
//  SMSRequestProvider.h
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/2/26.
//  
  

#import <YTKNetwork/YTKRequest.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_OPTIONS(NSUInteger, RiskControlTrackScene) {
    RiskControlTrackSceneRegister = 1,
    RiskControlTrackSceneAuthenticationChoose,
    RiskControlTrackSceneIDCard,
    RiskControlTrackSceneFace,
    RiskControlTrackSceneBasic,
    RiskControlTrackSceneWork,
    RiskControlTrackSceneContact,
    RiskControlTrackSceneBankCard,
    RiskControlTrackSceneLoanStart,
    RiskControlTrackSceneLoanEnd,
};

/// 上报风控埋点(新)
@interface RiskControlRequestProvider : NSObject

+ (void)requestTrackWithRiskControl:(NSString *)productId
                              scene:(RiskControlTrackScene)scene
                              start:(NSInteger)start
                                end:(NSInteger)end
                            success:(void(^)(NSDictionary *dict))success
                            failure:(void(^)(YTKRequest *request))failure;


@end

NS_ASSUME_NONNULL_END
